<template>
  <div>
    <header id="head_top">
      <span class="head_logo">ele.me</span>
      <span class="login">登录|注册</span>
    </header>
  </div>
</template>

<script>
export default {
  name: "ElmHeader",

  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style scoped lang='scss'>
#head_top {
  position: absolute;
  top: 0;
  background-color: #3190e8;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 1.94rem;
  display: flex;
  .head_logo {
    left: 0.4rem;
    font-weight: 400;
    font-size: 0.7rem;
    color: #fff;
    width: 2.3rem;
    height: 0.7rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .login {
    right: 0.55rem;
    font-size: 0.65rem;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
}
</style>
